package com.wwyx.pojo;

import java.io.Serializable;
import java.util.Date;

public class Permission implements Serializable {
    private Integer permissionId;

    private String permissionName;

    private Integer insertAble;

    private Integer deleteAble;

    private Integer updateAble;

    private Integer selectAble;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Permission(Integer permissionId, String permissionName, Integer insertAble, Integer deleteAble, Integer updateAble, Integer selectAble, Date createTime, Date updateTime) {
        this.permissionId = permissionId;
        this.permissionName = permissionName;
        this.insertAble = insertAble;
        this.deleteAble = deleteAble;
        this.updateAble = updateAble;
        this.selectAble = selectAble;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Permission() {
        super();
    }

    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName == null ? null : permissionName.trim();
    }

    public Integer getInsertAble() {
        return insertAble;
    }

    public void setInsertAble(Integer insertAble) {
        this.insertAble = insertAble;
    }

    public Integer getDeleteAble() {
        return deleteAble;
    }

    public void setDeleteAble(Integer deleteAble) {
        this.deleteAble = deleteAble;
    }

    public Integer getUpdateAble() {
        return updateAble;
    }

    public void setUpdateAble(Integer updateAble) {
        this.updateAble = updateAble;
    }

    public Integer getSelectAble() {
        return selectAble;
    }

    public void setSelectAble(Integer selectAble) {
        this.selectAble = selectAble;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}